package com.example.shixun.service.impl;

import com.example.shixun.dao.ExamPapersDao;
import com.example.shixun.pojo.ExamPapers;
import com.example.shixun.service.ExamPapersService;

import javax.annotation.Resource;

/**
 * @Author XDW
 * @Version 1.0
 * @date 2023/6/24 17:33
 */
public class ExamPapersServiceImpl implements ExamPapersService {
    @Resource
    private ExamPapersDao examPapersDao;
    @Override
    public Integer saveExamPapers(ExamPapers examPapers) {
        return examPapersDao.saveExamPapers(examPapers);
    }

    @Override
    public Integer deleteExamPapersById(int id) {
        return examPapersDao.deleteExamPapersById(id);
    }

    @Override
    public ExamPapers selectExamPapersById(int id) {
        return examPapersDao.selectExamPapersById(id);
    }

    @Override
    public Integer updateExamPapers(ExamPapers examPapers) {
        return examPapersDao.updateExamPapers(examPapers);
    }
}
